package com.jye.rseven.service;

import com.jye.rseven.domain.Comments;

import java.util.List;

public interface CommentsService {

    int addComment(Comments comments);


    int updateCommentStatusById(int id, int status);

    List<Comments> findCommentsByTypeAndPId(int type, int pId,int skip,int limit);

    int updateCommentByIdAndStatus(int id, int status);

    int deleteCommentById(int id);


    String commentCourseByComment(Comments comments);

}
